Saves the contents of the frontmost document window to the file it has been opened from. If the document has been opened from a URL, the Save as... dialog is presented instead.
When saving a document from XML Spy, the file is automatically checked for well-formedness, because all XML documents must be well-formed - otherwise they could not be interpreted by any other XML application. Also the XML-Declaration is checked for an encoding specification and the encoding is applied to the document when writing out the file.
You can optionally have XML Spy automatically validate a document upon saving (this can be defined in the File page on the Settings dialog). If a validation error occurs, XML Spy will bring up a popup message with a detailed error explanation and will hilite the offending item. You can then choose to fix the problem or save the document as is. In the latter case you will be prompted to correct the error the next time you open the file with XML Spy.
|
|